<?php

class Firebird extends CI_Controller
{

    function __construct()
    {
        parent::__construct();
    }

    function index()
    {
        $DB = $this->load->database("firebird", TRUE);
        $res = $DB->query('select * from job');
        $res = $res->result_array();
        
        foreach ($res as $var)
        {
           echo $var['JOB_CODE'];
        }
    }

}

?>
